import request from '@/utils/request'

export function listAllGzwd(data) {
  return request({
    url: '/middleindex/gzwd/listAll',
    method: 'post',
    data
  })
}

export function searchGzwd(data) {
  return request({
    url: '/middleindex/gzwd/search',
    method: 'post',
    data
  })
}

export function getGzwd(data) {
  return request({
    url: `/middleindex/gzwd/get`,
    method: 'post',
    data
  })
}

export function saveGzwd(data) {
  return request({
    url: `/middleindex/gzwd/save`,
    method: 'post',
    data
  })
}

export function updateGzwd(data) {
  return request({
    url: '/middleindex/gzwd/update',
    method: 'post',
    data
  })
}

export function delGzwd(data) {
  return request({
    url: '/middleindex/gzwd/del',
    method: 'post',
    data
  })
}

export function publish(data) {
  return request({
    url: '/middleindex/gzwd/publish',
    method: 'post',
    data
  })
}



